package cqrtplm.mapper;

import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;

@Repository
public interface DocRevisionMapper {

    String selectDocMasteredOidByOid(@Param("oid") String oid);

    String selectNewDocOid(@Param("moid") String masteredId);

    void updateDocLifecyclestagekey(@Param("moid")String masteredId,@Param("oid")String oid);

    String selectCadDocMasteredOidByOid(@Param("oid")String id);

    String selectNewCadDocOid(@Param("moid")String masteredId);

    void updateCadDocLifecyclestagekey(@Param("moid")String masteredId,@Param("oid")String oid);
}
